package com.qf;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 启动类
 * @author 千锋健哥
 */
//这个注解表示这是springboot的启动类
@SpringBootApplication
//引入mybatis后要扫描dao所在包
@MapperScan(basePackages = "com.qf.dao")
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
